<%-- 
    Document   : logout
    Created on : Dec 12, 2009, 2:50:27 PM
    Author     : ppt
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<%

     String username=(String)session.getAttribute("username");
    if(username!=null)
        {
           out.println(username+" loged out, <a href=\"index.jsp\">Back</a>");
            session.removeAttribute("username");

        }
     else
         {
         out.println("You are already not login <a href=\"index.jsp\">Back</a>");
     }



%> 
